package com.demo.core.config;//
//package com.wen.common.config;
//
//import com.wen.common.util.SpringContext;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//
//@Slf4j
//@Configuration
//public class SpringContextConfigurator {
//
//	/**
//	 * Spring上下文工具配置
//	 */
//	@Bean
//	@ConditionalOnMissingBean(SpringContext.ApplicationContextHolder.class)
//	public SpringContext.ApplicationContextHolder applicationContextHolder() {
//		SpringContext.ApplicationContextHolder holder = new SpringContext.ApplicationContextHolder();
//		log.info("注册 bean: SpringContextHolder [{}]", holder);
//		return holder;
//	}
//
//}
